package com.qinge.blog.service;

import com.qinge.blog.entity.BlogUser;
import com.qinge.blog.utils.result.JsonResult;

/**
 * @author QDW
 * @date 2022/5/6 10:51
 * @description 登录
 **/
public interface BlogLoginService {
    /**
     * @author QDW
     * @date 2022/5/6 10:15
     * @description 用户登录
     * @param user
     * @return com.qinge.blog.utils.result.JsonResult
     **/
    JsonResult login(BlogUser user);


    /**
     * @author QDW
     * @date 2022/5/6 10:15
     * @description 退出
     * @param user
     * @return com.qinge.blog.utils.result.JsonResult
     **/
    JsonResult logout(BlogUser user);
}
